/**
 * Created by Jerry on 2017/12/7.
 */

const HtmlWebpackPlugin=require("html-webpack-plugin")
const path=require('path')

module.exports=[
    new HtmlWebpackPlugin({
        title:'响响租车',
        filename:'login.html',
        template:path.resolve(__dirname,'../html/login.html'),
        inject:'body',
        hash:true,
        chunks:['login'],
    }),
    new HtmlWebpackPlugin({
        title:'响响租车',
        filename:'index.html',
        template:path.resolve(__dirname,'../html/index.html'),
        inject:'body',
        hash:true,
        chunks:['index'],
    }),
    new HtmlWebpackPlugin({
        title:'响响租车',
        filename:'change.html',
        template:path.resolve(__dirname,'../html/change.html'),
        inject:'body',
        hash:true,
        chunks:['change_password'],
    }),

]